package com.ruoyi.zhgd.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 沥青拌合站固定材料价格业务对象 n_sys_station_asphalt_material
 *
 * @author zyb
 * @date 2023-09-06
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class NSysStationAsphaltMaterialBo extends BaseEntity {

    /**
     * 主键（拌合楼主键对应）
     */
    @NotBlank(message = "主键（拌合楼主键对应）不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 矿粉价格（元/吨）
     */
    @NotNull(message = "矿粉价格（元/吨）不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal powderPrice;

    /**
     * 沥青价格（元/吨）
     */
    @NotNull(message = "沥青价格（元/吨）不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal asphaltPrice;


}
